﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Response.EnterpriseWechat
{
    /// <summary>
    /// 部门信息
    /// </summary>
    public class DepartmentResp : BaseEnterpriseResp
    {
        public List<DepartmentInfo> Department { get; set; }
    }

    public class DepartmentInfo
    {
        /// <summary>
        ///  id ，1为根节点id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 上一级id
        /// </summary>
        public int Parentid { get; set; }

        /// <summary>
        /// 节点名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }
    }
}
